$OpenBSD: patch-lib_xmalloc_c,v 1.1.1.1 2005/01/25 23:32:22 fgsch Exp $
--- lib/xmalloc.c.orig	Sat Jan 22 21:43:38 2005
+++ lib/xmalloc.c	Sat Jan 22 21:44:46 2005
@@ -27,6 +27,7 @@
 
 #if !defined (ALREADY_HAVE_XMALLOC)
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/types.h>
 
 extern void *malloc (), *realloc ();
